body {
    font-family: "Arial", sans-serif;
    background: linear-gradient(to right, #1f4037, #ffa286);
    color: #fff;
    margin: 0;
    padding: 0;
}

img {
    border-radius: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 50px 0;
}

header h1 {
    font-size: 3em;
    margin: 0;
    color: #fff;
}

section {
    margin: 50px 0;
}

section h2 {
    font-size: 2em;
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

section p {
    line-height: 1.6;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.honors,
.technology,
.titles {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.honors div,
.technology div,
.titles div {
    flex: 1 1 calc(33.333% - 40px);
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
}

div img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: 10px 0;
    color: #fff;
}

.profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid #eee;
    display: block;
    margin: 0 auto;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-top: 10px;
}

.gallery-item {
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
    transition: transform 0.3s ease;
}


.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding-top: 15px;
    padding-bottom: 15px;
}

.gallery-title {
    font-size: 20px;
    font-weight: 500;
    height: 40px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    color: #333;
    padding: 0 10px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}